<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%-- 商家申请开店的审核管理页面 --%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<link rel="shortcut icon" href="${pageContext.request.contextPath}/images/favicon.ico" type="image/x-icon" /> 
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-1.7.2.min.js"></script>
	<script type="text/javascript" src="${pageContext.request.contextPath}/js/applyManage.js"></script>
	<link href="${pageContext.request.contextPath}/css/css.css" rel="stylesheet" type="text/css" />
    <link href="${pageContext.request.contextPath}/css/style2.css" rel="stylesheet" type="text/css" />
	<style type="text/css">
	   body {
		font-family:Arial, Helvetica, sans-serif;
		font-size:12px;
		margin:0;
		}
		#main {
		height:1800px;
		padding-top:90px;
		text-align:center;
		}
		#fullbg {
		background-color:gray;
		left:0;
		opacity:0.5;
		position:absolute;
		top:0;
		z-index:3;
		filter:alpha(opacity=50);
		-moz-opacity:0.5;
		-khtml-opacity:0.5;
		}
		#dialog {
		background-color:#fff;
		border:5px solid rgba(0,0,0, 0.4);
		height:400px;
		left:50%;
		margin:-200px 0 0 -200px;
		padding:1px;
		position:fixed !important; /* 浮动对话框 */
		position:absolute;
		top:50%;
		width:400px;
		z-index:5;
		border-radius:5px;
		display:none;
		}
		#dialog p {
		margin:0 0 12px;
		height:24px;
		line-height:24px;
		background:#CCCCCC;
		}
		#dialog p.close {
		text-align:right;
		padding-right:10px;
		}
		#dialog p.close a {
		color:#fff;
		text-decoration:none;
		} 
	</style>
	<title>管理员管理控制台</title>
</head>
<body >		
	<tr>
    <td height="30"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td height="62" background="${pageContext.request.contextPath}/images/nav04.png">
            
		   <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
		    <tr>
			  <td width="580">
			   </a>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
			   </td>	
		    </tr>
          </table>
          </td>
        </tr>
      </table>
    </td>
   </tr>	

<table width="100%" border="0" cellspacing="0" cellpadding="0">
   <tr>
    <td><table id="subtree1" style="DISPLAY: " width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td><table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td height="40" class="font42"><table id="all" width="100%" border="0" cellpadding="4" cellspacing="1" bgcolor="#464646" class="newfont03">

					                  <tr>
                    <td height="20" colspan="15" align="center" bgcolor="#EEEEEE" class="tablestyle_title">
                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                     &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;商家申请审核列表</td>
                    </tr>
                  <tr>
					<td width="5%" height="42" align="center" bgcolor="#EEEEEE">编号</td>
					<td width="10%" align="center"  bgcolor="#EEEEEE">商家账号</td>
                    <td width="10%" align="center"  bgcolor="#EEEEEE">账号昵称</td>
                    <td width="10%" align="center"  bgcolor="#EEEEEE">账号详情</td>
					<td width="15%" align="center"  bgcolor="#EEEEEE">审核信息</td>
					<td width="10%" align="center"  bgcolor="#EEEEEE">是否可用</td>
					<td width="15%" align="center"  bgcolor="#EEEEEE">审核操作</td>
                  </tr>
                  <!-- 全部查询 -->
                    <c:forEach items="${SaleSettleDetailDTOList}" var="saleSettleDetailDTO" varStatus="true">
					 <tr>
					<td width="5%" height="42" align="center" bgcolor="#FFFFFF"> ${ saleSettleDetailDTO.saleAccount.id }</td>
					<td width="10%" align="center"  bgcolor="#FFFFFF">${ saleSettleDetailDTO.saleAccount.saleAccount }</td>
                    <td width="10%" align="center"  bgcolor="#FFFFFF">${ saleSettleDetailDTO.saleAccount.nickname }</td>
                    <td width="10%"  align="center"  bgcolor="#FFFFFF">
                     <a href="#" name="accountDetail" >账号详情<span style="display: none;">${saleSettleDetailDTO.saleAccount.id}</span></a></td>
					<td width="15%"  align="center"  bgcolor="#FFFFFF">
					 <a href="#" name="applyDetail" >审核信息<span style="display: none;">${ saleSettleDetailDTO.saleAccount.id }</span></a></td>
					<td width="10%" align="center"  bgcolor="#FFFFFF">${ saleSettleDetailDTO.saleSettleinfo.remark }</td>
					<td width="15%" align="center"  bgcolor="#FFFFFF">
					<a href="${pageContext.request.contextPath}/admin/ajaxForUpdateState?key=1&id=${ saleSettleDetailDTO.saleAccount.id }" name="pass" > 通过</a>
		            <a href="${pageContext.request.contextPath}/admin/ajaxForUpdateState?key=2&id=${ saleSettleDetailDTO.saleAccount.id }" name="out" > 否决</a></td>
                  </tr>
				  </c:forEach>
                </table></td>
              </tr>
            </table></td>
        </tr>
      </table>
</table>

				<div id="main">
					<div id="fullbg"></div>
					<div id="dialog">
					   <p class="close"><a href="#" id="closeBg">关闭</a></p>
					   <div id="Detail">
					   </div>
					</div>
                </div> 
				
	
</body>
</html>